package c.e.b.f.a.c;

import android.content.Context;
import android.os.Bundle;
import c.e.a.b.e.c.g;
import c.e.b.c;
import c.e.b.f.a.b;
import c.e.b.g.e;
import c.e.b.g.f;
import c.e.b.g.v;
import c.e.b.j.d;
import java.util.Objects;

/* compiled from: com.google.android.gms:play-services-measurement-api@@18.0.0 */
public final /* synthetic */ class a implements f {
    public static final f a = new a();

    public final Object a(e eVar) {
        v vVar = (v) eVar;
        c cVar = (c) vVar.a(c.class);
        Context context = (Context) vVar.a(Context.class);
        d dVar = (d) vVar.a(d.class);
        Objects.requireNonNull(cVar, "null reference");
        Objects.requireNonNull(context, "null reference");
        Objects.requireNonNull(dVar, "null reference");
        Objects.requireNonNull(context.getApplicationContext(), "null reference");
        if (b.c == null) {
            synchronized (b.class) {
                if (b.c == null) {
                    Bundle bundle = new Bundle(1);
                    if (cVar.g()) {
                        dVar.a(c.e.b.a.class, c.e.b.f.a.e.a, c.e.b.f.a.d.a);
                        bundle.putBoolean("dataCollectionDefaultEnabled", cVar.f());
                    }
                    b.c = new b(g.a(context, null, null, null, bundle).d);
                }
            }
        }
        return b.c;
    }
}
